package com.xzx.dto;

import lombok.Data;

/**
 *
 * @author xinzhixuan
 * @version 1.0
 * @date 2025/8/23 21:14
 */
@Data
public class Tuple2<T1, T2> {
    private T1 f1;
    private T2 f2;

    public static <T1, T2> Tuple2<T1, T2> of(T1 f1, T2 f2) {
        Tuple2<T1, T2> tuple2 = new Tuple2<>();
        tuple2.f1 = f1;
        tuple2.f2 = f2;
        return tuple2;
    }
}
